const f1=require("./module2/moduleB");
let obj1=f1(1);
obj1.printSum();//1

const f2=require("./module2/moduleB");
let obj2=f2(2);
obj2.printSum();//3


const f3=require("./module2/moduleB");
let obj3=f3(3);
obj3.printSum();//6


const f4=require("./module2/moduleB");
let obj4=f4(4);
obj4.printSum();//10
